{% extends 'base.html' %}

{% block title %} 用户查询结果 {% endblock %}
{% block content %}
<br>
{% if users %}
    <h1>用户查询结果</h1>
    <table border="1">
        <tr>
            <th>主键ID</th>
            <th>用户名</th>
            <th>注册时间</th>
        </tr>
        {% for user in users %}
            <tr>
                <td>{{user.id}}</td>
                <td> {{ user.username }} </td>
                <td> {{user.rdatetime}} </td>
            </tr>
        {%endfor%}
   
    </table>
 
{% endif %}

{% endblock %}